package com.flame.schedule.mapper;

import java.util.List;

import com.flame.schedule.controller.vo.JobLogVo;
import com.flame.schedule.entity.JobLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * flame_schedule_job_log 任务信息表
 *
 * @author 吴欣童
 * @since 2022-12-04 12:47:08
 */
@Mapper
public interface JobLogMapper {

    List<JobLog> page(JobLogVo jobLogVo);

    void insert(JobLog jobLog);

    void updateById(JobLog jobLog);

    void deleteById(@Param("jobLogId") Long jobLogId);

    JobLog selectById(@Param("jobLogId") Long jobLogId);

    void batchDelete(List<Long> logIdList);

    void clear();
}